<template>
    <div>
        <el-form :model="Form" label-width="100px" :inline="false" size="default">
            <el-form-item label="养护日志">
                <el-input v-model="Form.info"></el-input>
            </el-form-item>
            <el-form-item label="上传照片">
                <!-- <el-input v-model="Form.picture" type="file"></el-input> -->
                <input type="file">
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="onSubmit">提交</el-button>
                <el-button>取消</el-button>
            </el-form-item>
        </el-form>
    </div>
</template>
  
<script setup lang="ts">
import {RouterView,RouterLink} from 'vue-router'
import { ref } from 'vue'

const Form = ref(
    {
        info: '',
        picture: ''
    }
)

const onSubmit = ()=> {
    console.log('Submit!');
}
</script>
  
<style scoped>

</style>
  